<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Result</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.css">
<link href="../style.css" rel="stylesheet" />
</head>
<body onload="PR.prettyPrint()">
<pre class="prettyprint">
<xmp>
#import <Foundation/Foundation>;

@interface Result : NSObject

//错误代码
@property (nonatomic, strong) NSInteger code;
//提示信息
@property (nonatomic, assign) NSString msg;
//数据
@property (nonatomic, strong) Message data;


@end
</xmp>
</pre>

<pre class="prettyprint">
<xmp>
#import <Foundation/Foundation>;

@interface Message : NSObject

//信息 id,数据库自增,不传
@property (nonatomic, strong) NSInteger id;
//后端自动获取当前用户名,不传
@property (nonatomic, assign) NSString userId;
//
@property (nonatomic, assign) NSString type;
//
@property (nonatomic, assign) NSString content;
//多个同图片地址以英文逗号分隔
@property (nonatomic, assign) NSString picture;


@end
</xmp>
</pre>


<script src="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.js"></script>
</body>
</html>